package com.sunyard.dal.bo.sys;

import com.sunyard.dal.bo.BaseBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author chengy.wei
 * @Description 转授权
 * @date 2022/06/29
 */

@Data
@ApiModel
public class AuthorityUpdateBo extends BaseBO {

    private static final long serialVersionUID = 6071466723418462568L;

    /**
     * 授权人ID 不超过32位
     */
    @ApiModelProperty(value = "授权用户Id", required = true)
    private String opId;

    /**
     * 被授权ID 不超过32位
     */
    @ApiModelProperty(value = "被授权用户Id")
    private String toAuthorizedId;
}
